import { Navigate } from "react-router-dom";
import { lazy, Suspense } from "react";
//二级菜单列表
var DepositExamine = lazy(()=>import('../../views/Index/Deposit/DepositExamine'))
var DepositList = lazy(()=>import('../../views/Index/Deposit/DepositList'))
var DepositTypeList = lazy(()=>import('../../views/Index/Deposit/DepositTypeList'))
//三级菜单列表
var Createdeposit = lazy(()=>import('../../views/Index/Deposit/Createdeposit'))
var EditIssue = lazy(()=>import('../../views/Index/Deposit/EditIssue'))
var DetailsView = lazy(()=>import('../../views/Index/Deposit/Details'))
export default [
    {
        path: '/index/home/deposit/depositList',
        element: <Suspense><DepositList /></Suspense>,   
    },
    {
        path: '/index/home/deposit/depositList/createdeposit',
        element:<Suspense><Createdeposit /></Suspense> ,
    },
    {
        path: '/index/home/deposit/depositList/editIssue',
        element: <Suspense><EditIssue /></Suspense>,
    },
    {
        path: '/index/home/deposit/depositList/details',
        element: <Suspense><DetailsView /></Suspense>,
    },
    {
        path: '/index/home/deposit/depositExamine',
        element: <Suspense><DepositExamine /></Suspense>,
    },
    {
        path: '/index/home/deposit/depositTypeList',
        element: <Suspense><DepositTypeList /></Suspense>,
    }
]
   
